#ifndef ELTREADER_H
#define ELTREADER_H

#include <wx/file.h>
#include <wx/string.h>

#define SECTION_SIZE 800

class ELTReader
{
    public:
        ELTReader(const wxString &isoFile);
        virtual ~ELTReader();

        size_t ReadSection(size_t sectionIndex, wxUint8** ppBuf);
        wxFileOffset GetTotalLength();
    protected:
    private:
        wxFile* m_isoFile;
        wxUint8* m_buf;
        wxUint16 m_bufSectionStart;
        wxUint16 m_bufSectionEnd;
};

#endif // ELTREADER_H
